<template>
	<web-view :src="webUrl"></web-view>
</template>

<script>
	export default {
		data() {
			return {
				webUrl:'',
				webTitle:'',
			}
		},
		/**
		 * 接收传递过来的值
		 */
		onLoad(options) {
			try{
				this.webUrl = options.url
				uni.setNavigationBarTitle({title:options.title})
			}catch(e){}
		},
		methods: {
			
		}
	}
</script>

<style>
	
</style>
